<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>订单搜索脚本</title>
<body class="withvernav">
<div class="bodywrapper">
{{include file='/public/leftmenu.tpl'}}
<div class="centercontent">
<div class="pageheader notab">
  <h1 class="pagetitle">订单搜索脚本</h1>
  <span class="pagedesc"></span>
  <div class="menulist">
   <ul class="profile_summary">
    {{if $managers || in_array('133',$showpower)}}  <li {{if $status==""}} class="current"{{/if}}> <a href="/order/addordersearch"><span>添加脚本</span></a></li>{{/if}}
    
   </ul>
  </div>
  
</div>
<!--pageheader-->
<div id="contentwrapper" class="contentwrapper">
<div id="basicform" class="subcontent">
   <!--搜索栏-->
          <div>
          
   	
         <div style="clear: both"></div>
         <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
   </div>
      
   
    <!--搜索栏结束-->
<table cellpadding="0" cellspacing="0" border="0" class="stdtable" style="table-layout: fixed;">
<thead>
  <tr class="lbbt">
    <td bgcolor="#FEFFF1" width="5%" ><a onClick="allSelect('ppid[]')">全选</a></td>
    <td width="5%"  bgcolor="#FEFFF1">编号</td>
    <td  bgcolor="#FEFFF1">名称</td>
    <td  bgcolor="#FEFFF1">状态</td>
    <td width="15%"  bgcolor="#FEFFF1">操作时间</td>
    <td  bgcolor="#FEFFF1">操作者</td>
    <td  bgcolor="#FEFFF1">操作</td>

    
  </tr>
</thead>
<tbody >

{{foreach from=$orderlist item=li key=key}}
  <tr>
    <td ><input name="ppid[]" type="checkbox" class="none" id="ppid[]" value="{{$li.orderId}}" /></td>
    <td valign="middle"  style="position:relative;">
     {{$li.id}}
     </td>
    <td valign="middle" >{{$li.name}}</td>
     <td valign="middle" >{{if $li.status==0}}启用{{else}}停用{{/if}}</td>
    
    <td  style="position:relative;">{{$li.opertime}}</td>
    <td valign="middle" >{{$li.oper}}</td>
    <td valign="middle" ><a href="/order/addordersearch?id={{$li.id}}">编辑</a> ｜ <a onClick="return confirm('确认删除？')" href="/order/ajaxbutton?op=delsearchorder&id={{$li.id}}">删除</a> ｜{{if $li.status==0}}  <a href="/order/ajaxbutton?op=stordersearch&id={{$li.id}}&type=1">停用</a>{{else}}  <a href="/order/ajaxbutton?op=stordersearch&id={{$li.id}}&type=0"><font color=red>启用</font></a>{{/if}}</td>
   
  
   
  </tr>
   
{{/foreach}}
</tbody>

</table>
  <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
</div>
</div>

  
 
</body>
</html>